package com.avic.modules.record.service.dto;


import com.avic.annotation.Query;
import lombok.Data;

import java.util.List;
import java.util.Set;

/**
 * @author zhangzikang
 * @date 2022-08-14
 */
@Data
public class AlarmInformationQueryCriteria {

    // 类型(工作(0报警,1工作)，报警:2)
    @Query(propName = "type", type = Query.Type.EQUAL)
    private Integer type;

    // 类型(工作(0报警,1工作)，报警:2)
    @Query(propName = "type", type = Query.Type.IN)
    private List<Integer> typeAll;

    // 站位
    private String station;

    // 设备类别
    private Long category;

    // 设备id
    @Query(propName = "equipId", type = Query.Type.EQUAL)
    private String equip;

    // 设备id
    @Query(propName = "equipId", type = Query.Type.IN)
    private Set<String> equipAll;
}
